Pod::Spec.new do |s|
  s.name         = 'MCLibrary'
  s.version      = '0.3'
  s.license      = 'MIT'
  s.homepage     = 'http://git.oschina.net/gtts/MCLibrary'
  s.authors      =  { 'gtts' => 'gtts@outlook.com', :tag => "v#{s.version}" }
  s.summary      = 'common code'

  s.platform     =  :ios, '6.0'
  s.source       = {  :git => 'http://git.oschina.net/gtts/MCLibrary.git'}

 # s.framework    =  ''

  s.default_subspec = 'Core'
  s.requires_arc = true
  
   s.subspec 'Core' do |cs|   
    cs.dependency 'NSLogger', '~> 1.1'
    cs.source_files = 'Library/Library/*.{h,m}'
  end
  
   s.subspec 'EScrollerView' do |ss|
    ss.source_files   =  'Library/Library/EScrollerView'
    ss.requires_arc = false
  end

  s.subspec 'MJPhotoBrowser' do |mj|
    mj.source_files = 'Library/Library/MJPhotoBrowser'
    mj.resources    =   'MJPhotoBrowser.bundle'
    mj.dependency 'SDWebImage', '~> 3.5.1'
    mj.dependency 'MBProgressHUD', '~> 0.8'
    mj.framework    =  'MapKit', 'ImageIO'
  end

end